package com.bwie.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@TableName("tb_goods")
public class TbGoods implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;

  private String goodsTitle; //商品标题

  private Double goodsPrice;//商品价格

  private String goodsSort;//商品分类

  private Integer goodsSales;//商品销量

  private String goodsDetails;//商品描述

  private Integer goodsInventory;//商品库存
  private Integer browseNum;//商品浏览量

    @TableField(exist = false)
    private List<TbGoodsImg> goodsImgs; //商品图片






}
